<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>综合信息管理系统</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/cloud.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
if (self != top) top.location.href = window.location.href
//-->
</script>
<script type="text/javascript">
$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
});  
function CheckFormUserLogin(){
	if(document.UserLogin.username.value==""){
		alert("请输入用户名！");
		document.UserLogin.username.focus();
		return false;
	}
	if(document.UserLogin.passwd.value == ""){
		alert("请输入密码！");
		document.UserLogin.passwd.focus();
		return false;
	}
}
</script>
<style type="text/css">
*{font-size:9pt;border:0;margin:0;padding:0;}
body{font-family:'微软雅黑'; margin:0 auto;min-width:980px;}
ul{display:block;margin:0;padding:0;list-style:none;}
li{display:block;margin:0;padding:0;list-style: none;}
img{border:0;}
dl,dt,dd,span{margin:0;padding:0;display:block;}
a,a:focus{text-decoration:none;color:#000;outline:none;blr:expression(this.onFocus=this.blur());}
a:hover{color:#00a4ac;text-decoration:none;}
table{border-collapse:collapse;border-spacing: 0;}
cite{font-style:normal;}
h2{font-weight:normal;}
/*cloud*/
#mainBody {width:100%;height:100%;position:absolute;z-index:-1;}
.cloud {position:absolute;top:0px;left:0px;width:100%;height:100%;background:url(images/cloud.png) no-repeat;z-index:1;opacity:0.5;}
#cloud2 {z-index:2;}
/*login*/
.logintop{height:47px; position:absolute; top:0; background:url(images/loginbg1.png) repeat-x;z-index:100; width:100%;}
.logintop span{color:#fff; line-height:47px; background:url(images/loginsj.png) no-repeat 21px 18px; text-indent:44px; color:#afc5d2; float:left;}
.logintop ul{float:right; padding-right:30px;}
.logintop ul li{float:left; margin-left:20px; line-height:47px;}
.logintop ul li a{color:#afc5d2;}
.logintop ul li a:hover{color:#fff;}
.loginbody{background:url(images/loginbg3.png) no-repeat center center; width:100%; height:585px; overflow:hidden; position:absolute; top:47px;}
.systemlogo{background:url(images/loginlogo.png) no-repeat center;width:100%; height:71px; margin-top:75px;}
.loginbox{width:692px; height:336px; background:url(images/logininfo.png) no-repeat; margin-top:30px;}
.loginbox ul{margin-top:88px; margin-left:285px;}
.loginbox ul li{margin-bottom:25px;}
.loginbox ul li label{color:#687f92; padding-left:25px;}
.loginbox ul li label a{color:#687f92;}
.loginbox ul li label a:hover{color:#3d96c9;}
.loginbox ul li label input{margin-right:5px;}
.loginuser{width:343px; height:28px; background:url(images/loginuser.png) no-repeat; border:none; line-height:28px; padding-left:44px; font-size:14px; font-weight:bold;}
.loginpwd{width:343px; height:28px; background:url(images/loginpassword.png) no-repeat; border:none;line-height:28px; padding-left:44px; font-size:14px; color:#90a2bc;}
.loginbtn{width:111px;height:35px; background:url(images/buttonbg.png) repeat-x; font-size:14px; font-weight:bold; color:#fff;cursor:pointer; line-height:35px;}
.loginbm{height:50px; line-height:50px; text-align:center; background:url(images/loginbg2.png) repeat-x;position:absolute; bottom:0; width:100%; color:#0b3a58;}
.loginbm a{font-weight:bold;color:#0b3a58;}
.loginbm a:hover{color:#fff;}
</style>
</head>
<body style="background-color:#1c77ac; background-image:url(images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">
    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div>  
<div class="logintop">    
    <span>欢迎登录${syscfg.sitename!}平台</span>    
    <ul>
    <li><a href="${syscfg.xpurl!}">回首页</a></li>
    </ul>    
    </div>
    <div class="loginbody">
    <span class="systemlogo"></span>  
    <div class="loginbox">
<form method="POST" action="${request.contextPath}/shirodologin" name="UserLogin" onSubmit="return CheckFormUserLogin();" target="_self">    
    <ul>
    <li><input name="username" type="text" class="loginuser" value="admin" onclick="JavaScript:this.value=''"/></li>
    <li><input name="password" type="password" class="loginpwd" value="123456" onclick="JavaScript:this.value=''"/></li>
    <li><input name="verifyCode" type="text" class="loginuser"/><img alt="验证码" onclick="this.src='/defaultKaptcha?d='+new Date()*1" src="/defaultKaptcha" /> </li>
    <li><input name="" type="submit" class="loginbtn" value="登录" />
    <label><input name="flag" type="checkbox" value="1" checked="checked"/>记住用户名</label>
    <label><#if error??><font color="red">提示：${error!}</font></#if></label>
    </li>
    </ul>
</form>    
    </div>
</div>
    <div class="loginbm">
        版权所有：<a href="${syscfg.xpurl!}" target="_blank">${syscfg.copyright!}</a> ${syscfg.version!} <#if syscfg.email??&&syscfg.email!=''>邮箱：${syscfg.email!}</#if> 
    <#if syscfg.tel??&&syscfg.tel!=''>电话：${syscfg.tel!}</#if> <#if syscfg.address??&&syscfg.address!=''>地址：${syscfg.address!} ${syscfg.zip!}</#if>
    </div>
</body>
</html>